<?php
/**
 * Created by PhpStorm.
 * User: Martin.Wu
 * Date: 2020/5/8
 * Time: 10:18
 *
 **/
namespace common\strategy\judge;

use common\strategy\StrategyAbstract;

class IsEmpty extends StrategyAbstract
{
    /**
     * @param $data
     * @return bool
     */
    public function doAction($data)
    {
        return !empty($data);
    }
}
